package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 签到管理对象 ccs_check_in
 * 
 * @author ruoyi
 * @date 2024-04-26
 */
public class CcsCheckIn extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 签到号 */
    @Excel(name = "签到号")
    private String checkInNum;

    /** 活动号 */
    @Excel(name = "活动号")
    private String activeNum;

    /** 学号 */
    @Excel(name = "学号")
    private String studentNum;

    /** 教室号 */
    @Excel(name = "教室号")
    private String classRoomNum;

    /** 座位号 */
    @Excel(name = "座位号")
    private String seatNum;

    /** 签到类型(由教师设定类型如第一行为A类，第二行为B类) */
    @Excel(name = "签到类型(由教师设定类型如第一行为A类，第二行为B类)")
    private String grade;

    /** 签到时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "签到时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date datetime;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCheckInNum(String checkInNum) 
    {
        this.checkInNum = checkInNum;
    }

    public String getCheckInNum() 
    {
        return checkInNum;
    }
    public void setActiveNum(String activeNum) 
    {
        this.activeNum = activeNum;
    }

    public String getActiveNum() 
    {
        return activeNum;
    }
    public void setStudentNum(String studentNum) 
    {
        this.studentNum = studentNum;
    }

    public String getStudentNum() 
    {
        return studentNum;
    }
    public void setClassRoomNum(String classRoomNum) 
    {
        this.classRoomNum = classRoomNum;
    }

    public String getClassRoomNum() 
    {
        return classRoomNum;
    }
    public void setSeatNum(String seatNum) 
    {
        this.seatNum = seatNum;
    }

    public String getSeatNum() 
    {
        return seatNum;
    }
    public void setGrade(String grade) 
    {
        this.grade = grade;
    }

    public String getGrade() 
    {
        return grade;
    }
    public void setDatetime(Date datetime) 
    {
        this.datetime = datetime;
    }

    public Date getDatetime() 
    {
        return datetime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("checkInNum", getCheckInNum())
            .append("activeNum", getActiveNum())
            .append("studentNum", getStudentNum())
            .append("classRoomNum", getClassRoomNum())
            .append("seatNum", getSeatNum())
            .append("grade", getGrade())
            .append("datetime", getDatetime())
            .toString();
    }
}
